package com.exchange.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.exchange.entity.pojo.User;
import com.exchange.entity.model.TokenModel;
import com.exchange.until.Result;

/**
* @author Administrator
* @description 针对表【user】的数据库操作Service
* @createDate 2024-04-25 20:02:10
*/
public interface UserService extends IService<User> {
    User selectPersonal(String token);

    Result<TokenModel> login(User user);
    User personalUpdate(User user);

    boolean passwordUpdate(User user,String token);

    boolean findPassword(User user, String token);
}
